<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h3 style="text-align: center;"><a href="/adduser">add</a></h3>
    <table border="1" align="center">
        <tr>
            <th>id</th>
            <th>name</th>
            <th>age</th>
            <th>opera</th>
        </tr>
        {% for user in data %}
        <tr>        
            <td>{{user.id}}</td>
            <td>{{user.name}}</td>
            <td>{{user.age}}</td>     
            <td><a href="deleteuser/{{user.id}}">delete</a>|<a href="/update/{{user.id}}">update</a></td>   
        </tr>
        {% endfor%}
    </table>
   
</body>
</html>